package com.aispeech.jarpc.op.sd;

import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;

import com.aispeech.jarpc.TextBin;
import com.aispeech.jarpc.op.AbstractRequest;

public class SdRequest extends AbstractRequest {
    private final static String REQ_TMPL = "{\"op\":\"sd\"}";
    
    public TextBin toJsonBin() {
        String json = toJson();
        return new TextBin(json, null);
    }
    
    @Override
    public String toJson() {
        return String.format(REQ_TMPL);
    }

    @Override
    public String OpType() {
        return "sd";
    }
}
